package structures;

public class ServiceCallInfo {

	private String serviceName;
	private String inXml;
	private String outXml;
	private boolean isLocal;
	private Integer environment;
	private String targetServer;
	private String targetIp;
	private short port;
	private String TUser;
	private String AUser;
	private String channel;
	
	private boolean withoutFuadPassword;
	
	private boolean retryCall;
	
	public String getTargetServerOrIp(){
		if(isLocal)
			return targetIp + " : " + targetServer;
		else
			return targetServer;
	}

	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	
	public String getInXml() {
		return inXml;
	}
	public void setInXml(String inXml) {
		this.inXml = inXml;
	}
	
	public String getOutXml() {
		return outXml;
	}
	public void setOutXml(String outXml) {
		this.outXml = outXml;
	}
	public boolean isLocal() {
		return isLocal;
	}
	public void setLocal(boolean isLocal) {
		this.isLocal = isLocal;
	}
	public String getTargetServer() {
		return targetServer;
	}
	public void setTargetServer(String targetServer) {
		this.targetServer = targetServer;
	}
	public String getTargetIp() {
		return targetIp;
	}
	public void setTargetIp(String targetIp) {
		this.targetIp = targetIp;
	}
	public short getPort() {
		return port;
	}
	public void setPort(short port) {
		this.port = port;
	}

	public String getAUser() {
		return AUser;
	}

	public void setAUser(String AUser) {
		this.AUser = AUser;
	}

	public String getTUser() {
		return TUser;
	}

	public void setTUser(String TUser) {
		this.TUser = TUser;
	}

	public boolean isWithoutFuadPassword() {
		return withoutFuadPassword;
	}

	public void setWithoutFuadPassword(boolean withFuadPassword) {
		this.withoutFuadPassword = withFuadPassword;
	}

	public Integer getEnvironment() {
		return environment;
	}

	public void setEnvironment(Integer environment) {
		this.environment = environment;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public boolean isRetryCall() {
		return retryCall;
	}

	public void setRetryCall(boolean retryCall) {
		this.retryCall = retryCall;
	}
	
}
